package com.hdoit.ares.logical.official.service;

import java.util.List;

import com.tennetcn.common.dao.base.ISuperService;
import com.hdoit.ares.logical.official.model.ArticalComment;
import com.hdoit.ares.logical.viewmodel.official.ArticalCommentSearch;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年03月10日 14:05:35
 * @comment
 */
public interface IArticalCommentService extends ISuperService<ArticalComment>{
	public List<ArticalComment> queryListBySearch(ArticalCommentSearch search);

	public ArticalComment  addModel(String content,String articalId,String customerId,String replyedId);
	
	public ArticalComment queryModel(ArticalCommentSearch search);
	
	//判断当天评论次数
	public int queryCountDayComments(String month, String day, String customerId);
	
	//判断当天是否评论
	public boolean queryCountDayComment(String month, String day, String customerId);
	
}